package com.yg.entity.readAndWriteTemplates;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 对应sheet10，此表是学院教师教材建设及教材获奖表
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TeachingMaterial对象", description = "对应sheet10，此表是学院教师教材建设及教材获奖表")
public class TeachingMaterialTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教材id")
    @ExcelIgnore
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @TableField(fill = FieldFill.INSERT)
    private String id;

    @ApiModelProperty(value = "序号")
    @ExcelProperty(index = 0, value = "序号")
    private Integer number;


    @ApiModelProperty(value = "教材名称")
    @ExcelProperty(index = 1, value = "教材名称")
    private String name;

    @ApiModelProperty(value = "编写人员位次主编")
    @ExcelProperty(index = 2, value = "主编")
    private String editorInChief;

    @ApiModelProperty(value = "编写人员位次副主编")
    @ExcelProperty(index = 3, value = "副主编")
    private String deputyEditor;

    @ApiModelProperty(value = "立项时间")
    @ExcelProperty(index = 4, value = "立项时间")
    private String projectTime;

    @ApiModelProperty(value = "教材建设类别")
    @ExcelProperty(index = 5, value = "教材建设类别")
    private String category;

    @ApiModelProperty(value = "教材建设类别：国家级规划")
    @ExcelProperty()
    private String nationalCategory;

    @ApiModelProperty(value = "教材建设类别：省部级规划")
    @ExcelProperty()
    private String provincialCategory;

    @ApiModelProperty(value = "出版社")
    @ExcelProperty(index = 6, value = "出版社")
    private String publisher;

    @ApiModelProperty(value = "出版时间")
    @ExcelProperty(index = 7, value = "出版时间")
    private String publicationDate;

    @ApiModelProperty(value = "标准国际刊号")
    @ExcelProperty(index = 8, value = "标准国际刊号")
    private String issn;

    @ApiModelProperty(value = "教材奖励名称")
    @ExcelProperty(index = 9, value = "教材奖励名称")
    private String reward;


    @ApiModelProperty(value = "教材获奖等级")
    @ExcelProperty(index = 10, value = "教材获奖（注明奖励等级）")
    private String awards;

    @ApiModelProperty(value = "教材获奖:国家级")
    @ExcelProperty()
    private String nationalAwards;

    @ApiModelProperty(value = "教材获奖:省部级")
    @ExcelProperty()
    private String provincialAwards;

    @ApiModelProperty(value = "教材获奖：校级")
    @ExcelProperty()
    private String schoolAwards;


    @ApiModelProperty(value = "逻辑删除字段  1为删除，0为未删除 默认为0")
    private Integer deleted;

//    @ApiModelProperty(value = "创建时间")
//    @TableField(fill = FieldFill.INSERT)
//    private Date gmtCreate;
//
//    @ApiModelProperty(value = "修改时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private Date gmtModified;


}
